// 资产总览
import request from '~/utils/resquest'

// 获取全部数量统计类别
export const getAssetModelList = <T>(params: T) =>
  request({
    url: '/api/gxsaas-assets/assetReport/getAssetModelList',
    method: 'get',
    params
  })

// 根据code查询数量统计内容
export const getAssetModelReport = <T>(params: T) =>
  request({
    url: '/api/gxsaas-assets/assetReport/getAssetModelReport',
    method: 'get',
    params
  })

// 工区总设施投入占比图 饼图
export const getAssetModelAreaRatioReport = <T>(params: T) =>
  request({
    url: '/api/gxsaas-assets/assetReport/getAssetModelAreaRatioReport',
    method: 'get',
    params
  })

// 工区设施投入对比图 柱状图
export const getAssetModelAreaDataReport = <T>(params: T) =>
  request({
    url: '/api/gxsaas-assets/assetReport/getAssetModelAreaDataReport',
    method: 'get',
    params
  })

// 月度设施投入走势图 折线图
export const getAssetModelMonthInputDataReport = <T>(params: T) =>
  request({
    url: '/api/gxsaas-assets/assetReport/getAssetModelMonthInputDataReport',
    method: 'get',
    params
  })

// 杆高分类统计
export const getLamppostTotalClassify = <T>(params: T) =>
  request({
    url: '/api/gxsaas-assets/lamppost/totalClassify',
    method: 'get',
    params
  })

// 街道统计
export const getStreetTotalList = <T>(params: T) =>
  request({
    url: '/api/gxsaas-assets/street/totalList',
    method: 'get',
    params
  })
